package com.yanqu.road.logic.activity.foxcard.game.label;

import com.yanqu.road.logic.activity.foxcard.game.FoxCardGameLogic;
import com.yanqu.road.logic.activity.foxcard.game.eFoxCardTriggerType;

/**
 * 立即获得某个道具
 * shopId|数量|0|0
 */
public class FoxCardLabel6 extends FoxCardLabelBase {
    @Override
    protected int labelHandle(FoxCardGameLogic gameLogic) {
        if (triggerType != eFoxCardTriggerType.SKIP) {
            return 0;
        }

        int shopId = labelConfig.getParamList().get(0);

        gameLogic.openCardPack(shopId);

        return 1;
    }
}
